home *** CD-ROM | disk | FTP | other *** search
/ World of Education / World of Education.iso / world_q / qasa391.zip / SAMPLE.DEF < prev    next >
Text File  |  1991-08-31  |  11KB  |  501 lines

  1.  
  2.                           Sample Q&ASA Database
  3.  
  4. This file must be compiled with Q&ASA's database compiler, which will
  5. create the file SAMPLE.Q&A.
  6.  
  7. This sample database contains questions and answers about Q&ASA. 
  8.  
  9. A Q&ASA database may contain any of the following options. Any line
  10. not part of one of the following options is considered to be a comment,
  11. which is why this explanatory text may appear here.
  12.  
  13. Q=    question on following lines, terminated by a blank line or
  14.     another option. Must be on a line by itself.
  15. A=    answer on following lines, terminated by a blank line or
  16.     another option. Must be on a line by itself.
  17. P=    strip all punctuation from following answer list.
  18. N=    quiz name is on next line. Must be on a line by itself.
  19. M=    macro definition on following lines, terminated by a blank
  20.     line or another option. Must be on a line by itself.
  21. T=    time allowed is on next line in the format HH:MM:SS.
  22. C=    clear NOT allowed. No additional lines.
  23. S=    lock in sequential mode (user cannot change mode). No additional
  24.     lines.
  25. R=    lock in random mode (user cannot change mode). No additional
  26.     lines.
  27. F=    output score filename is on next line (no score recording 
  28.     if omitted).
  29. E=    encrypt score file.
  30. W=    assign weighting. Weight appears as an integer on the next line.
  31.     This weight will be used for all questions following until and
  32.     unless another weight is assigned.
  33. D=    disable display of correct answers if answer is incorrect. No
  34.     additional lines.
  35. G=      define letter grade equivalency list or disable display of
  36.     letter grades during execution. To disable letter grade
  37.     display, the following line should contain "OFF" only. Otherwise,
  38.     any number of following lines contain the grade equivalencies
  39.     in the form <score>=<letter grade>.
  40.  
  41. In this sample database, questions are weighted by type as follows:
  42.     multiple-choice        1 point each    
  43.     true/false (yes/no)    2 points each
  44.     fill-in            3 points each
  45.  
  46. Again, note that comments are just about free-form. Place them anywhere 
  47. except between option keywords and their termination. Q&AC will discard
  48. all comment text as it compiles this file, so you are not penalized for
  49. commenting your databases.
  50.  
  51. The sample database configuration follows....
  52.  
  53. ==========================================================================
  54.  
  55. Set the time limit to 10 minutes.
  56. ---------------------------------
  57. T=
  58. 10:00
  59.  
  60. Name the database. This name is displayed in Q&ASA's main window.
  61. -----------------------------------------------------------------
  62. N=
  63. Q&ASA Sample Database
  64.  
  65. Specify a score file. If it already exists, score data will be
  66. appended. Otherwise, a new file will be created using this name.
  67. ----------------------------------------------------------------
  68. F=
  69. sample.scr
  70.  
  71. These are the 'true' and 'false' macro definitions...
  72. -----------------------------------------------------
  73.  
  74. M=
  75. $TRUE$
  76. True
  77. T
  78. Yes
  79. Y
  80.  
  81. M=
  82. $FALSE$
  83. False
  84. F
  85. No
  86. N
  87.  
  88. Define the letter grade equivalency list. The last line (59.99) causes
  89. the letter grade display to be omitted until the user achieves a score
  90. of at least 59.99. Set this to 0 to always display the letter grade.
  91. ----------------------------------------------------------------------
  92.  
  93. G=
  94. 95    = A+
  95. 90    = A
  96. 85    = A-
  97. 83    = B+
  98. 80    = B
  99. 75    = B-
  100. 73    = C+
  101. 70    = C
  102. 67    = C-
  103. 65    = D+
  104. 63    = D
  105. 60    = D-
  106. 59.99 = F
  107.  
  108. If we wanted to turn off the display of letter grades so the letter
  109. grade would be shown only when the quiz was completed and in the
  110. score file (if defined), then we would use the following:
  111. -------------------------------------------------------------------
  112.  
  113. G=                   [this text turns off the G= keyword detection]
  114. OFF
  115.  
  116. The first question follows, with a weight of 3.
  117. -----------------------------------------------
  118.  
  119. W=
  120. 3
  121.  
  122. P=
  123.  
  124. Q=
  125.  1. Fill-in:
  126.  
  127.  Q&ASA requires a minimum of _____ bytes of memory.
  128.  
  129. A=
  130.  Q&ASA requires at least 128K of memory.
  131.  128000
  132.  128K
  133.  
  134. Now the weighting is changed to 1 before multiple-choice questions.
  135. -------------------------------------------------------------------
  136.  
  137. W=
  138. 1
  139.  
  140. P=
  141.  
  142. Q=
  143.  2. Multiple-choice:
  144.  
  145.  How many questions and answers can typically be put in a Q&ASA
  146.  database, assuming your computer has 512K bytes of free memory
  147.  when Q&ASA is started?
  148.  
  149.     A. 1000
  150.     B. Limited by disk space
  151.     C. 40,000
  152.     D. All of the above
  153.     E. None of the above
  154.  
  155. A=
  156.     C. 40,000. Each question requires 10 bytes of memory.
  157.     C
  158.     40K
  159.     40000
  160.  
  161. Q=
  162.  3. Multiple-choice:
  163.  
  164.  How does Q&ASA determine the correct answer?
  165.  
  166.     1. It knows the answers
  167.     2. By scanning the list of answers in the database and scoring
  168.        "correct" if your answer matches any of them.
  169.     3. By reading your mind
  170. A=
  171.     2. By scanning the list of answers in the database
  172.     By checking for matches.
  173.     2
  174.     Scanning
  175.     Matching
  176.  
  177. Q=
  178.  4. Multiple-choice:
  179.  
  180.  What will Q&ASA do if my question won't fit in the 15 screen 
  181.  lines provided?
  182.  
  183.     1. Crash
  184.     2. Truncate the question
  185.     3. Display the question in 'pages'
  186. A=
  187.     2. Truncate the question
  188.     2
  189.     truncate
  190.  
  191. Q=
  192.  5. Multiple-choice:
  193.  
  194.  Can Q&ASA assign a "weight" to each question?
  195.  
  196.     a. Yes, provided the total weight adds up to 100.
  197.     b. No.
  198.     c. Yes, without restriction.
  199. A=
  200.     c. Yes, without restriction.
  201.     c
  202.  
  203. Change the weight to 2 for "true/false".
  204. ----------------------------------------
  205.  
  206. W=
  207. 2
  208.  
  209. Q=
  210.  6. True/False:
  211.  
  212.  Is there a way to limit the time allowed to answer all questions?
  213. A=
  214.  $TRUE$
  215.  
  216. And back to 1 again for multiple-choice.
  217. ----------------------------------------
  218.  
  219. W=
  220. 1
  221.  
  222. Q=
  223.  7. Multiple-choice:
  224.  
  225.  How does Q&ASA save the score?
  226.  
  227.     1. By appending the score information to the file "Q&ASA.SCR".
  228.     2. It creates a score file defined by the "File/Load" command.
  229.     3. By appending the score to the file defined in the database.
  230.     4. Both 1 and 2 above.
  231.     5. None of the above.
  232. A=
  233.     3. By appending the score to the file defined in the database.
  234.     3
  235.  
  236. W=
  237. 2
  238.  
  239.  
  240. Q=
  241.  8. True/False
  242.  
  243.  Can the score file be exported so that it can be used with other
  244.  programs, such as database and spreadsheet programs?
  245. A=
  246. $TRUE$
  247.  
  248.  
  249. W=
  250. 2
  251.  
  252. Q=
  253.  9. True/False
  254.  
  255.  Can I skip questions without answering them and come back to them later?
  256. A=
  257. $TRUE$
  258.  
  259. W=
  260. 1
  261.  
  262. Q=
  263.  10. Multiple-choice
  264.  
  265.  If letter grades are assigned, how do they correspond to the score?
  266.  
  267.     a. In multiples of 5, where 95 is "A", 90 is "B", and so on.
  268.     b. Without restriction, using any grade equivalencies you choose.
  269.     c. Letter grades are not supported.
  270. A=
  271.  b. Without restriction, using any grade equivalencies you choose.
  272.  b
  273.  
  274.  
  275. W=
  276. 1
  277.  
  278. Q=
  279.  11. Multiple-choice:
  280.  
  281.  How does Q&ASA locate my database?
  282.  
  283.     1. It searches the whole disk
  284.     2. It searches the current directory
  285.     3. It searches the directory specified in the "File/Load" command.
  286. A=
  287.     3. It searches the directory specified by "File/Load"
  288.     3
  289.  
  290.  
  291. W=
  292. 1
  293.  
  294. Q=
  295.  12. Multiple-choice:
  296.  
  297.  How does Q&ASA locate its HELP file?
  298.     1. It searches the whole disk.
  299.     2. It searches the current directory.
  300.     3. It searches the directory specified by the "File/Load" command.
  301.     4. It searches all of the directories given by the PATH variable.
  302.        5. It will ask for the directory if it cannot find the file.
  303.     6. Both 2 and 4 above
  304.     7. 2, 4, and 5 above
  305.     8. All of the above
  306. A=
  307.     7. It searches the current directory, then the PATH, then asks.
  308.     7
  309.  
  310. W=
  311. 2
  312.  
  313. Q=
  314.  13. True/False
  315.  
  316.  Is Q&ASA distributed with any features turned off to provide
  317.  an incentive to register the program?
  318. A=
  319. NO! The ASP forbids this practice, but you are required to register.
  320. $FALSE$
  321.  
  322.  
  323. W=
  324. 2
  325.  
  326. Q=
  327.  14. True/False
  328.  
  329.  The name of the database definition file must end with ".Q&A".
  330.  
  331. A=
  332. No. It CANNOT end with ".Q&A". The Q&ASA compiler uses this extension!
  333. $FALSE$
  334.  
  335. W=
  336. 1
  337.  
  338. Q=
  339.  15. Multiple-choice:
  340.  
  341.  The number of correct answers that I can give for a question is
  342.  
  343.     A. Two
  344.     B. Five
  345.     C. Unlimited
  346.     D. Limited by available memory
  347. A=
  348.     D. Limited by available memory, but essentially unlimited.
  349.     D
  350.  
  351. W=
  352. 1
  353.  
  354. Q=
  355.  16. Multiple-choice
  356.  
  357.  How much memory will Q&ASA use?
  358.  
  359.     1. As much as is available below 640K.
  360.     2. All memory, including Extended (XMS) and Expanded (EMM) memory.
  361.     3. Two full 64K frames.
  362.     4. All of the above.
  363.     5. None of the above.
  364. A=
  365.  1. As much as is available below 640K.
  366.  1
  367.  
  368. W=
  369. 2
  370.     
  371.  
  372.  
  373. Q=
  374.  17. True/False
  375.  
  376.  Can Q&ASA handle an essay question?
  377. A=
  378. No. Scoring an essay question would require language interpretation.
  379. $FALSE$
  380.  
  381.  
  382. W=
  383. 0
  384.  
  385. Q=
  386.  18. Multiple-choice
  387.  
  388.  Where is the password stored that enables access to the score file?
  389.  
  390.     A. In the configuration file Q&ASA.CFG.
  391.     B. In the help file Q&ASA.HLP.
  392.     C. In a hidden file on disk.
  393.     D. Both A and C above.
  394.     E. None of the above.
  395. A=
  396. Sorry, there is no correct answer to this question!
  397.  
  398.  
  399. W=
  400. 1
  401.  
  402. Q=
  403.  19. Multiple-choice:
  404.  
  405.  Which of the answers given in the database does Q&ASA display as correct
  406.  if I answer incorrectly?
  407.  
  408.     1. All of them
  409.     2. The last one
  410.     3. The first one
  411. A=
  412.     3. The first one
  413.     First
  414.     3
  415.     1st
  416.  
  417. W=
  418. 2
  419.  
  420. Q=
  421.  20. True/False
  422.  
  423.  Does Q&ASA regard case ("A/a") in an answer as significant?
  424. A=
  425. $FALSE$
  426.  
  427.  
  428. W=
  429. 1
  430.  
  431. Q=
  432.  21. Multiple-choice:
  433.  
  434.  What will Q&ASA do if I put tabs in my database?
  435.  
  436.     1. It will crash
  437.     2. It will expand them using 8-column tab stops
  438.     3. It will convert them to blanks
  439. A=
  440.     2. The Q&ASA compiler will expand them using 8-column tab stops.
  441.     2
  442.     expand
  443.  
  444. Q=
  445.  22. Multiple-choice:
  446.  
  447.  How does Q&ASA locate the keyword tags (e.g., Q=, A=) in the database?
  448.  
  449.     1. It looks at the first character of each line
  450.     2. It looks for those characters alone on a line
  451.     3. It assumes 7-line spacing
  452.         A=
  453.     2. It looks for those characters alone on a line
  454.     2
  455.  
  456. W=
  457. 2
  458.  
  459. Q=
  460.  23. True/False
  461.  
  462.  Is Q&ASA public domain, or 'freeware'?
  463.  
  464. A=
  465. NO! Q&ASA is SHAREWARE. If you use it, you must pay the registration fee.
  466. $FALSE$
  467.  
  468.  
  469. W=
  470. 1
  471.  
  472. Q=
  473.  24. Multiple-choice
  474.  
  475.  What if I want to change the database file?
  476.  
  477.     1. You may change it any time you wish.
  478.     2. You must recompile it.
  479.     3. You cannot change the database.
  480. A=
  481.     2. You must recompile it using the Q&ASA compiler.
  482.     2
  483.  
  484. W=
  485. 2
  486.  
  487. Q=
  488.  25. True/False
  489.  
  490.  If I type the database to the screen using the DOS command
  491.  "type filename.q&a", can I see the answers?
  492.  
  493. A=
  494. No, the database is encrypted for just this reason.
  495. $FALSE$
  496.  
  497.  
  498.  
  499. End of sample database.....
  500. ---------------------------
  501.